home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-11-09 | 1.2 KB | 49 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="General Usage\Windows NT"
- "NAME"="Quick Reboot"
- "VERSION"="1.03"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable CTRL+SHIFT+ALT+DEL quick reboot"
- "DESCRIPTION 1"="Activating this option allows you to press CTRL+SHIFT+ALT+DEL to reboot your PC."
- "DESCRIPTION 2"="The "normal" CTRL+ALT+DEL will still show the "Windows NT Security" screen."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
- "COMMENT 2"="Thanks to Chris [CGMT@flashmail.com] for the "non-NT but not disabled" bug notice. "
-
-
- sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
- sV1="EnableQuickReboot"
- Sub Plugin_Initialize
- if GetWinVer=2 then
- i=RegReadValue(sPath & sV1)
- if i=1 then
- SetUIElement 1,true
- end if
- else
- Call Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sPAth & sV1,1,1)
- else
- Call RegWriteValue(sPAth & sV1,0,1)
- end if
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-